import unittest
import ddt



@ddt.ddt
class MyDTTTesst(unittest.TestCase):
    def add(self, num1, num2):
        return num1 + num2

    @ddt.data(["test1",'111'],["test2",'222'],["test3",'333'])
    @ddt.unpack
    def test_test(self,param1, param2):
        print(param1, '___',param2)

    @ddt.data([1,2,3],[4,5,9],[7,8,15])
    @ddt.unpack
    def test_add(self, numA, numB, sum):
        s = self.add(numA,numB)
        self.assertEqual(s,sum)

if __name__ == '__main__':
    unittest.main()